package cn.myweixin.mapper;

import cn.myweixin.po.Mark;
import cn.myweixin.po.MarkExample;
import cn.myweixin.po.MarkKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MarkMapper {
    int countByExample(MarkExample example);

    int deleteByExample(MarkExample example);

    int deleteByPrimaryKey(MarkKey key);

    int insert(Mark record);

    int insertSelective(Mark record);

    List<Mark> selectByExample(MarkExample example);
    
    List<Mark> selectByTran(MarkKey key  ); //学员查询成绩

    List<Mark> selectByTeac(Integer noticeid);//教员查询成绩
    
    Mark selectByPrimaryKey(MarkKey key);

    int updateByExampleSelective(@Param("record") Mark record, @Param("example") MarkExample example);

    int updateByExample(@Param("record") Mark record, @Param("example") MarkExample example);

    int updateByPrimaryKeySelective(Mark record);

    int updateByPrimaryKey(Mark record);
}